<?php
require( 'Child.php' );
$c = new Child();
$c->user_id = 30;
echo $c->id."<br/>";
echo $c->getID()."<br/>";
$c->name = 'buding';
echo $c->getName()."<br/>";
echo 'is $c an instanceof Root: '.($c instanceof Root)."<br/>";
echo 'is $c an instanceof Child: '.($c instanceof Child)."<br/>";
echo Child::getStaticType()."<br/>";
//echo $c->getDbName()."<br/>";
//$c->parent = "parent class";
//echo $c->parent."<br/>";
//$c->testattr = "asdf";
$c->name = 'Jiayang';
$c->printName."<br/>";
$c->add()."<br/>";
$c->create();
?>